using Finance.Domain.调拨;
using Finance.ErrorCode;
using MediatR;

namespace Finance.Api.Write.Applications.Commands.库存调拨
{
    public class DeploymentAddCommand : IRequest<ApiResult<int>>
    {
        /// <summary>
        /// 调拨单号
        /// </summary>
        public string Deployment { get; set; }

        /// <summary>
        /// 调拨申请日期
        /// </summary>
        public DateTime Time { get; set; }

        /// <summary>
        /// 调拨类型
        /// </summary>
        public string DeploymentStyle { get; set; }

        /// <summary>
        /// 调入仓库
        /// </summary>
        public string DeploymentInto { get; set; }

        /// <summary>
        /// 调出仓库
        /// </summary>
        public string DeploymentOut { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Message { get; set; }

        /// <summary>
        /// 调拨详情列表
        /// </summary>
        public List<DeploymentDetail> DetailList { get; set; }
    }
} 